Integrand size = 20, antiderivative size = 437 \[ \int \frac {1}{(c+d x) (a+a \tanh (e+f x))^3} \, dx=\frac {3 \cosh \left (2 e-\frac {2 c f}{d}\right ) \text {Chi}\left (\frac {2 c f}{d}+2 f x\right )}{8 a^3 d}+\frac {3 \cosh \left (4 e-\frac {4 c f}{d}\right ) \text {Chi}\left (\frac {4 c f}{d}+4 f x\right )}{8 a^3 d}+\frac {\cosh \left (6 e-\frac {6 c f}{d}\right ) \text {Chi}\left (\frac {6 c f}{d}+6 f x\right )}{8 a^3 d}+\frac {\log (c+d x)}{8 a^3 d}-\frac {\text {Chi}\left (\frac {6 c f}{d}+6 f x\right ) \sinh \left (6 e-\frac {6 c f}{d}\right )}{8 a^3 d}-\frac {3 \text {Chi}\left (\frac {4 c f}{d}+4 f x\right ) \sinh \left (4 e-\frac {4 c f}{d}\right )}{8 a^3 d}-\frac {3 \text {Chi}\left (\frac {2 c f}{d}+2 f x\right ) \sinh \left (2 e-\frac {2 c f}{d}\right )}{8 a^3 d}-\frac {3 \cosh \left (2 e-\frac {2 c f}{d}\right ) \text {Shi}\left (\frac {2 c f}{d}+2 f x\right )}{8 a^3 d}+\frac {3 \sinh \left (2 e-\frac {2 c f}{d}\right ) \text {Shi}\left (\frac {2 c f}{d}+2 f x\right )}{8 a^3 d}-\frac {3 \cosh \left (4 e-\frac {4 c f}{d}\right ) \text {Shi}\left (\frac {4 c f}{d}+4 f x\right )}{8 a^3 d}+\frac {3 \sinh \left (4 e-\frac {4 c f}{d}\right ) \text {Shi}\left (\frac {4 c f}{d}+4 f x\right )}{8 a^3 d}-\frac {\cosh \left (6 e-\frac {6 c f}{d}\right ) \text {Shi}\left (\frac {6 c f}{d}+6 f x\right )}{8 a^3 d}+\frac {\sinh \left (6 e-\frac {6 c f}{d}\right ) \text {Shi}\left (\frac {6 c f}{d}+6 f x\right )}{8 a^3 d} \]
[Out]
Time = 1.28 (sec) , antiderivative size = 437, normalized size of antiderivative = 1.00, number of steps used = 53, number of rules used = 7, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.350, Rules used = {3809, 3384, 3379, 3382, 3393, 5556, 5578} \[ \int \frac {1}{(c+d x) (a+a \tanh (e+f x))^3} \, dx=-\frac {3 \text {Chi}\left (2 x f+\frac {2 c f}{d}\right ) \sinh \left (2 e-\frac {2 c f}{d}\right )}{8 a^3 d}-\frac {\text {Chi}\left (6 x f+\frac {6 c f}{d}\right ) \sinh \left (6 e-\frac {6 c f}{d}\right )}{8 a^3 d}-\frac {3 \text {Chi}\left (4 x f+\frac {4 c f}{d}\right ) \sinh \left (4 e-\frac {4 c f}{d}\right )}{8 a^3 d}+\frac {3 \text {Chi}\left (2 x f+\frac {2 c f}{d}\right ) \cosh \left (2 e-\frac {2 c f}{d}\right )}{8 a^3 d}+\frac {3 \text {Chi}\left (4 x f+\frac {4 c f}{d}\right ) \cosh \left (4 e-\frac {4 c f}{d}\right )}{8 a^3 d}+\frac {\text {Chi}\left (6 x f+\frac {6 c f}{d}\right ) \cosh \left (6 e-\frac {6 c f}{d}\right )}{8 a^3 d}+\frac {3 \sinh \left (2 e-\frac {2 c f}{d}\right ) \text {Shi}\left (2 x f+\frac {2 c f}{d}\right )}{8 a^3 d}+\frac {3 \sinh \left (4 e-\frac {4 c f}{d}\right ) \text {Shi}\left (4 x f+\frac {4 c f}{d}\right )}{8 a^3 d}+\frac {\sinh \left (6 e-\frac {6 c f}{d}\right ) \text {Shi}\left (6 x f+\frac {6 c f}{d}\right )}{8 a^3 d}-\frac {3 \cosh \left (2 e-\frac {2 c f}{d}\right ) \text {Shi}\left (2 x f+\frac {2 c f}{d}\right )}{8 a^3 d}-\frac {3 \cosh \left (4 e-\frac {4 c f}{d}\right ) \text {Shi}\left (4 x f+\frac {4 c f}{d}\right )}{8 a^3 d}-\frac {\cosh \left (6 e-\frac {6 c f}{d}\right ) \text {Shi}\left (6 x f+\frac {6 c f}{d}\right )}{8 a^3 d}+\frac {\log (c+d x)}{8 a^3 d} \]
[In]
[Out]
Rule 3379
Rule 3382
Rule 3384
Rule 3393
Rule 3809
Rule 5556
Rule 5578
Rubi steps \begin{align*} \text {integral}& = \int \left (\frac {1}{8 a^3 (c+d x)}+\frac {3 \cosh (2 e+2 f x)}{8 a^3 (c+d x)}+\frac {3 \cosh ^2(2 e+2 f x)}{8 a^3 (c+d x)}+\frac {\cosh ^3(2 e+2 f x)}{8 a^3 (c+d x)}-\frac {3 \sinh (2 e+2 f x)}{8 a^3 (c+d x)}-\frac {3 \cosh ^2(2 e+2 f x) \sinh (2 e+2 f x)}{8 a^3 (c+d x)}+\frac {3 \sinh ^2(2 e+2 f x)}{8 a^3 (c+d x)}-\frac {\sinh ^3(2 e+2 f x)}{8 a^3 (c+d x)}-\frac {3 \sinh (4 e+4 f x)}{8 a^3 (c+d x)}+\frac {3 \sinh (2 e+2 f x) \sinh (4 e+4 f x)}{16 a^3 (c+d x)}\right ) \, dx \\ & = \frac {\log (c+d x)}{8 a^3 d}+\frac {\int \frac {\cosh ^3(2 e+2 f x)}{c+d x} \, dx}{8 a^3}-\frac {\int \frac {\sinh ^3(2 e+2 f x)}{c+d x} \, dx}{8 a^3}+\frac {3 \int \frac {\sinh (2 e+2 f x) \sinh (4 e+4 f x)}{c+d x} \, dx}{16 a^3}+\frac {3 \int \frac {\cosh (2 e+2 f x)}{c+d x} \, dx}{8 a^3}+\frac {3 \int \frac {\cosh ^2(2 e+2 f x)}{c+d x} \, dx}{8 a^3}-\frac {3 \int \frac {\sinh (2 e+2 f x)}{c+d x} \, dx}{8 a^3}-\frac {3 \int \frac {\cosh ^2(2 e+2 f x) \sinh (2 e+2 f x)}{c+d x} \, dx}{8 a^3}+\frac {3 \int \frac {\sinh ^2(2 e+2 f x)}{c+d x} \, dx}{8 a^3}-\frac {3 \int \frac {\sinh (4 e+4 f x)}{c+d x} \, dx}{8 a^3} \\ & = \frac {\log (c+d x)}{8 a^3 d}-\frac {i \int \left (\frac {3 i \sinh (2 e+2 f x)}{4 (c+d x)}-\frac {i \sinh (6 e+6 f x)}{4 (c+d x)}\right ) \, dx}{8 a^3}+\frac {\int \left (\frac {3 \cosh (2 e+2 f x)}{4 (c+d x)}+\frac {\cosh (6 e+6 f x)}{4 (c+d x)}\right ) \, dx}{8 a^3}+\frac {3 \int \left (-\frac {\cosh (2 e+2 f x)}{2 (c+d x)}+\frac {\cosh (6 e+6 f x)}{2 (c+d x)}\right ) \, dx}{16 a^3}-\frac {3 \int \left (\frac {1}{2 (c+d x)}-\frac {\cosh (4 e+4 f x)}{2 (c+d x)}\right ) \, dx}{8 a^3}+\frac {3 \int \left (\frac {1}{2 (c+d x)}+\frac {\cosh (4 e+4 f x)}{2 (c+d x)}\right ) \, dx}{8 a^3}-\frac {3 \int \left (\frac {\sinh (2 e+2 f x)}{4 (c+d x)}+\frac {\sinh (6 e+6 f x)}{4 (c+d x)}\right ) \, dx}{8 a^3}-\frac {\left (3 \cosh \left (4 e-\frac {4 c f}{d}\right )\right ) \int \frac {\sinh \left (\frac {4 c f}{d}+4 f x\right )}{c+d x} \, dx}{8 a^3}+\frac {\left (3 \cosh \left (2 e-\frac {2 c f}{d}\right )\right ) \int \frac {\cosh \left (\frac {2 c f}{d}+2 f x\right )}{c+d x} \, dx}{8 a^3}-\frac {\left (3 \cosh \left (2 e-\frac {2 c f}{d}\right )\right ) \int \frac {\sinh \left (\frac {2 c f}{d}+2 f x\right )}{c+d x} \, dx}{8 a^3}-\frac {\left (3 \sinh \left (4 e-\frac {4 c f}{d}\right )\right ) \int \frac {\cosh \left (\frac {4 c f}{d}+4 f x\right )}{c+d x} \, dx}{8 a^3}-\frac {\left (3 \sinh \left (2 e-\frac {2 c f}{d}\right )\right ) \int \frac {\cosh \left (\frac {2 c f}{d}+2 f x\right )}{c+d x} \, dx}{8 a^3}+\frac {\left (3 \sinh \left (2 e-\frac {2 c f}{d}\right )\right ) \int \frac {\sinh \left (\frac {2 c f}{d}+2 f x\right )}{c+d x} \, dx}{8 a^3} \\ & = \frac {3 \cosh \left (2 e-\frac {2 c f}{d}\right ) \text {Chi}\left (\frac {2 c f}{d}+2 f x\right )}{8 a^3 d}+\frac {\log (c+d x)}{8 a^3 d}-\frac {3 \text {Chi}\left (\frac {4 c f}{d}+4 f x\right ) \sinh \left (4 e-\frac {4 c f}{d}\right )}{8 a^3 d}-\frac {3 \text {Chi}\left (\frac {2 c f}{d}+2 f x\right ) \sinh \left (2 e-\frac {2 c f}{d}\right )}{8 a^3 d}-\frac {3 \cosh \left (2 e-\frac {2 c f}{d}\right ) \text {Shi}\left (\frac {2 c f}{d}+2 f x\right )}{8 a^3 d}+\frac {3 \sinh \left (2 e-\frac {2 c f}{d}\right ) \text {Shi}\left (\frac {2 c f}{d}+2 f x\right )}{8 a^3 d}-\frac {3 \cosh \left (4 e-\frac {4 c f}{d}\right ) \text {Shi}\left (\frac {4 c f}{d}+4 f x\right )}{8 a^3 d}+\frac {\int \frac {\cosh (6 e+6 f x)}{c+d x} \, dx}{32 a^3}-\frac {\int \frac {\sinh (6 e+6 f x)}{c+d x} \, dx}{32 a^3}+\frac {3 \int \frac {\cosh (6 e+6 f x)}{c+d x} \, dx}{32 a^3}-\frac {3 \int \frac {\sinh (6 e+6 f x)}{c+d x} \, dx}{32 a^3}+2 \frac {3 \int \frac {\cosh (4 e+4 f x)}{c+d x} \, dx}{16 a^3} \\ & = \frac {3 \cosh \left (2 e-\frac {2 c f}{d}\right ) \text {Chi}\left (\frac {2 c f}{d}+2 f x\right )}{8 a^3 d}+\frac {\log (c+d x)}{8 a^3 d}-\frac {3 \text {Chi}\left (\frac {4 c f}{d}+4 f x\right ) \sinh \left (4 e-\frac {4 c f}{d}\right )}{8 a^3 d}-\frac {3 \text {Chi}\left (\frac {2 c f}{d}+2 f x\right ) \sinh \left (2 e-\frac {2 c f}{d}\right )}{8 a^3 d}-\frac {3 \cosh \left (2 e-\frac {2 c f}{d}\right ) \text {Shi}\left (\frac {2 c f}{d}+2 f x\right )}{8 a^3 d}+\frac {3 \sinh \left (2 e-\frac {2 c f}{d}\right ) \text {Shi}\left (\frac {2 c f}{d}+2 f x\right )}{8 a^3 d}-\frac {3 \cosh \left (4 e-\frac {4 c f}{d}\right ) \text {Shi}\left (\frac {4 c f}{d}+4 f x\right )}{8 a^3 d}+\frac {\cosh \left (6 e-\frac {6 c f}{d}\right ) \int \frac {\cosh \left (\frac {6 c f}{d}+6 f x\right )}{c+d x} \, dx}{32 a^3}-\frac {\cosh \left (6 e-\frac {6 c f}{d}\right ) \int \frac {\sinh \left (\frac {6 c f}{d}+6 f x\right )}{c+d x} \, dx}{32 a^3}+\frac {\left (3 \cosh \left (6 e-\frac {6 c f}{d}\right )\right ) \int \frac {\cosh \left (\frac {6 c f}{d}+6 f x\right )}{c+d x} \, dx}{32 a^3}-\frac {\left (3 \cosh \left (6 e-\frac {6 c f}{d}\right )\right ) \int \frac {\sinh \left (\frac {6 c f}{d}+6 f x\right )}{c+d x} \, dx}{32 a^3}-\frac {\sinh \left (6 e-\frac {6 c f}{d}\right ) \int \frac {\cosh \left (\frac {6 c f}{d}+6 f x\right )}{c+d x} \, dx}{32 a^3}+\frac {\sinh \left (6 e-\frac {6 c f}{d}\right ) \int \frac {\sinh \left (\frac {6 c f}{d}+6 f x\right )}{c+d x} \, dx}{32 a^3}-\frac {\left (3 \sinh \left (6 e-\frac {6 c f}{d}\right )\right ) \int \frac {\cosh \left (\frac {6 c f}{d}+6 f x\right )}{c+d x} \, dx}{32 a^3}+\frac {\left (3 \sinh \left (6 e-\frac {6 c f}{d}\right )\right ) \int \frac {\sinh \left (\frac {6 c f}{d}+6 f x\right )}{c+d x} \, dx}{32 a^3}+2 \left (\frac {\left (3 \cosh \left (4 e-\frac {4 c f}{d}\right )\right ) \int \frac {\cosh \left (\frac {4 c f}{d}+4 f x\right )}{c+d x} \, dx}{16 a^3}+\frac {\left (3 \sinh \left (4 e-\frac {4 c f}{d}\right )\right ) \int \frac {\sinh \left (\frac {4 c f}{d}+4 f x\right )}{c+d x} \, dx}{16 a^3}\right ) \\ & = \frac {3 \cosh \left (2 e-\frac {2 c f}{d}\right ) \text {Chi}\left (\frac {2 c f}{d}+2 f x\right )}{8 a^3 d}+\frac {\cosh \left (6 e-\frac {6 c f}{d}\right ) \text {Chi}\left (\frac {6 c f}{d}+6 f x\right )}{8 a^3 d}+\frac {\log (c+d x)}{8 a^3 d}-\frac {\text {Chi}\left (\frac {6 c f}{d}+6 f x\right ) \sinh \left (6 e-\frac {6 c f}{d}\right )}{8 a^3 d}-\frac {3 \text {Chi}\left (\frac {4 c f}{d}+4 f x\right ) \sinh \left (4 e-\frac {4 c f}{d}\right )}{8 a^3 d}-\frac {3 \text {Chi}\left (\frac {2 c f}{d}+2 f x\right ) \sinh \left (2 e-\frac {2 c f}{d}\right )}{8 a^3 d}-\frac {3 \cosh \left (2 e-\frac {2 c f}{d}\right ) \text {Shi}\left (\frac {2 c f}{d}+2 f x\right )}{8 a^3 d}+\frac {3 \sinh \left (2 e-\frac {2 c f}{d}\right ) \text {Shi}\left (\frac {2 c f}{d}+2 f x\right )}{8 a^3 d}-\frac {3 \cosh \left (4 e-\frac {4 c f}{d}\right ) \text {Shi}\left (\frac {4 c f}{d}+4 f x\right )}{8 a^3 d}+2 \left (\frac {3 \cosh \left (4 e-\frac {4 c f}{d}\right ) \text {Chi}\left (\frac {4 c f}{d}+4 f x\right )}{16 a^3 d}+\frac {3 \sinh \left (4 e-\frac {4 c f}{d}\right ) \text {Shi}\left (\frac {4 c f}{d}+4 f x\right )}{16 a^3 d}\right )-\frac {\cosh \left (6 e-\frac {6 c f}{d}\right ) \text {Shi}\left (\frac {6 c f}{d}+6 f x\right )}{8 a^3 d}+\frac {\sinh \left (6 e-\frac {6 c f}{d}\right ) \text {Shi}\left (\frac {6 c f}{d}+6 f x\right )}{8 a^3 d} \\ \end{align*}
Time = 0.96 (sec) , antiderivative size = 312, normalized size of antiderivative = 0.71 \[ \int \frac {1}{(c+d x) (a+a \tanh (e+f x))^3} \, dx=\frac {\text {sech}^3(e+f x) (\cosh (f x)+\sinh (f x))^3 \left (\cosh (3 e) \log (f (c+d x))+\log (f (c+d x)) \sinh (3 e)+\left (\cosh \left (e-\frac {4 c f}{d}\right )-\sinh \left (e-\frac {4 c f}{d}\right )\right ) \left (3 \text {Chi}\left (\frac {4 f (c+d x)}{d}\right )+\cosh \left (2 e-\frac {2 c f}{d}\right ) \text {Chi}\left (\frac {6 f (c+d x)}{d}\right )-\text {Chi}\left (\frac {6 f (c+d x)}{d}\right ) \sinh \left (2 e-\frac {2 c f}{d}\right )+3 \text {Chi}\left (\frac {2 f (c+d x)}{d}\right ) \left (\cosh \left (2 e-\frac {2 c f}{d}\right )+\sinh \left (2 e-\frac {2 c f}{d}\right )\right )-3 \cosh \left (2 e-\frac {2 c f}{d}\right ) \text {Shi}\left (\frac {2 f (c+d x)}{d}\right )-3 \sinh \left (2 e-\frac {2 c f}{d}\right ) \text {Shi}\left (\frac {2 f (c+d x)}{d}\right )-3 \text {Shi}\left (\frac {4 f (c+d x)}{d}\right )-\cosh \left (2 e-\frac {2 c f}{d}\right ) \text {Shi}\left (\frac {6 f (c+d x)}{d}\right )+\sinh \left (2 e-\frac {2 c f}{d}\right ) \text {Shi}\left (\frac {6 f (c+d x)}{d}\right )\right )\right )}{8 a^3 d (1+\tanh (e+f x))^3} \]
[In]
[Out]
Time = 0.30 (sec) , antiderivative size = 151, normalized size of antiderivative = 0.35
method | result | size |
risch | \(\frac {\ln \left (d x +c \right )}{8 a^{3} d}-\frac {{\mathrm e}^{\frac {6 c f -6 d e}{d}} \operatorname {Ei}_{1}\left (6 f x +6 e +\frac {6 c f -6 d e}{d}\right )}{8 a^{3} d}-\frac {3 \,{\mathrm e}^{\frac {4 c f -4 d e}{d}} \operatorname {Ei}_{1}\left (4 f x +4 e +\frac {4 c f -4 d e}{d}\right )}{8 a^{3} d}-\frac {3 \,{\mathrm e}^{\frac {2 c f -2 d e}{d}} \operatorname {Ei}_{1}\left (2 f x +2 e +\frac {2 c f -2 d e}{d}\right )}{8 a^{3} d}\) | \(151\) |
[In]
[Out]
none
Time = 0.26 (sec) , antiderivative size = 193, normalized size of antiderivative = 0.44 \[ \int \frac {1}{(c+d x) (a+a \tanh (e+f x))^3} \, dx=\frac {3 \, {\rm Ei}\left (-\frac {2 \, {\left (d f x + c f\right )}}{d}\right ) \cosh \left (-\frac {2 \, {\left (d e - c f\right )}}{d}\right ) + 3 \, {\rm Ei}\left (-\frac {4 \, {\left (d f x + c f\right )}}{d}\right ) \cosh \left (-\frac {4 \, {\left (d e - c f\right )}}{d}\right ) + {\rm Ei}\left (-\frac {6 \, {\left (d f x + c f\right )}}{d}\right ) \cosh \left (-\frac {6 \, {\left (d e - c f\right )}}{d}\right ) + 3 \, {\rm Ei}\left (-\frac {2 \, {\left (d f x + c f\right )}}{d}\right ) \sinh \left (-\frac {2 \, {\left (d e - c f\right )}}{d}\right ) + 3 \, {\rm Ei}\left (-\frac {4 \, {\left (d f x + c f\right )}}{d}\right ) \sinh \left (-\frac {4 \, {\left (d e - c f\right )}}{d}\right ) + {\rm Ei}\left (-\frac {6 \, {\left (d f x + c f\right )}}{d}\right ) \sinh \left (-\frac {6 \, {\left (d e - c f\right )}}{d}\right ) + \log \left (d x + c\right )}{8 \, a^{3} d} \]
[In]
[Out]
\[ \int \frac {1}{(c+d x) (a+a \tanh (e+f x))^3} \, dx=\frac {\int \frac {1}{c \tanh ^{3}{\left (e + f x \right )} + 3 c \tanh ^{2}{\left (e + f x \right )} + 3 c \tanh {\left (e + f x \right )} + c + d x \tanh ^{3}{\left (e + f x \right )} + 3 d x \tanh ^{2}{\left (e + f x \right )} + 3 d x \tanh {\left (e + f x \right )} + d x}\, dx}{a^{3}} \]
[In]
[Out]
none
Time = 2.49 (sec) , antiderivative size = 114, normalized size of antiderivative = 0.26 \[ \int \frac {1}{(c+d x) (a+a \tanh (e+f x))^3} \, dx=-\frac {e^{\left (-6 \, e + \frac {6 \, c f}{d}\right )} E_{1}\left (\frac {6 \, {\left (d x + c\right )} f}{d}\right )}{8 \, a^{3} d} - \frac {3 \, e^{\left (-4 \, e + \frac {4 \, c f}{d}\right )} E_{1}\left (\frac {4 \, {\left (d x + c\right )} f}{d}\right )}{8 \, a^{3} d} - \frac {3 \, e^{\left (-2 \, e + \frac {2 \, c f}{d}\right )} E_{1}\left (\frac {2 \, {\left (d x + c\right )} f}{d}\right )}{8 \, a^{3} d} + \frac {\log \left (d x + c\right )}{8 \, a^{3} d} \]
[In]
[Out]
none
Time = 0.28 (sec) , antiderivative size = 103, normalized size of antiderivative = 0.24 \[ \int \frac {1}{(c+d x) (a+a \tanh (e+f x))^3} \, dx=\frac {{\left (3 \, {\rm Ei}\left (-\frac {2 \, {\left (d f x + c f\right )}}{d}\right ) e^{\left (4 \, e + \frac {2 \, c f}{d}\right )} + 3 \, {\rm Ei}\left (-\frac {4 \, {\left (d f x + c f\right )}}{d}\right ) e^{\left (2 \, e + \frac {4 \, c f}{d}\right )} + {\rm Ei}\left (-\frac {6 \, {\left (d f x + c f\right )}}{d}\right ) e^{\left (\frac {6 \, c f}{d}\right )} + e^{\left (6 \, e\right )} \log \left (d x + c\right )\right )} e^{\left (-6 \, e\right )}}{8 \, a^{3} d} \]
[In]
[Out]
Timed out. \[ \int \frac {1}{(c+d x) (a+a \tanh (e+f x))^3} \, dx=\int \frac {1}{{\left (a+a\,\mathrm {tanh}\left (e+f\,x\right )\right )}^3\,\left (c+d\,x\right )} \,d x \]
[In]
[Out]